package com.orders.pojo;

public class User {
	private int id;
	private String role;
	private String username;
	private String password;
	private String nickname;
	private boolean visible = true;
	public User(){
		
	}
	
	public User(Integer id, String role, String username, String password, String nickname) {
		super();
		this.id = id;
		this.role = role;
		this.username = username;
		this.password = password;
		this.nickname = nickname;
	}

	public int getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public boolean isVisible() {
		return visible;
	}

	public void setVisible(boolean visible) {
		this.visible = visible;
	}
	
	
}
